package com.endoc.designpattern.factory.abstractFactory;

import com.endoc.designpattern.entity.Bag;
import com.endoc.designpattern.entity.Fruit;

/**
 * 抽象工厂
 */
public abstract class AbstractFactory {
    //水果实例化
    public abstract Fruit getFruit();
    //水果打包实例化
    public abstract Bag getBag();
}
